package com.example.boot.rtshopactivity.dao;

import java.util.List;

import com.example.boot.rtshopactivity.model.RtShopActivity;

public interface RtShopActivityDao {
	int deleteByPrimaryKey(String id);

	int insert(RtShopActivity record);

	int insertSelective(RtShopActivity record);

	RtShopActivity selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(RtShopActivity record);

	int updateByPrimaryKey(RtShopActivity record);

	/**
	 * 根据商家Id查找所有的活动
	 * 
	 * @param shopId
	 * @return
	 */
	List<RtShopActivity> byShopIdFindActivity(String shopId);
}